export * from "./request";

export * from "./file";

export function delay(time = 1000) {
  return new Promise((resolve) => {
    let timer = setTimeout(() => {
      clearTimeout(timer);
      resolve();
    }, time);
  });
}
